package com.dongdongshop.service;

import com.dongdongshop.vo.ContentVO;

import java.util.List;

public interface ContentService {
    List<ContentVO> getAllContent();

    int addContent(ContentVO contentVO);

    ContentVO getContentById(Long id);

    int updateContent(ContentVO contentVO);

    int deleteBatch(List<Long> ids);

  /*  List<ContentVO> getBannerByOrder();

    List<ContentVO> getFavoriteByOrder();

    List<ContentVO> getRecommendByOrder();

    List<ContentVO> getIntersertByOrder();*/

    List<ContentVO> getAdvertisingByOrder(Integer flag);
}
